package yang.VirtualMachine.chapter9;

/**
 * class文件结构分析目标类
 * @author xinxin
 */
public class SimpleUser {
	public static final int TYPE = 1;
	
	private static int id = 111;
	private String name = "finalName";
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) throws IllegalStateException {
		try {
			String a = "110";
			this.id = id + Integer.parseInt(a);
		} catch (IllegalStateException e) {
			System.out.println(e.toString());
		}
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
}
